package com.springcloud.wujie_study_day03_eureka_feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Classname ServerFeignService
 * @Description TODO
 * @Date 2019/5/27 14:21
 * @Created by wujie
 */
@FeignClient(value = "wujie-study-day01-eureka-client")
public interface ServerFeignService {
    @RequestMapping(value = "test")
    public String testFeign(@RequestParam(value = "name") String name);
}
